package com.leilei.entity;

public class ShoppingCart{

    private int count;
    private User user;
    private Commodity commodity;
    private int isbuy;

    @Override
    public String toString() {
        return "ShoppingCart{" +
                "count=" + count +
                ", user=" + user +
                ", commodity=" + commodity +
                ", isbuy=" + isbuy +
                '}';
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Commodity getCommodity() {
        return commodity;
    }

    public void setCommodity(Commodity commodity) {
        this.commodity = commodity;
    }

    public int getIsbuy() {
        return isbuy;
    }

    public void setIsbuy(int isbuy) {
        this.isbuy = isbuy;
    }
}
